﻿<Window x:Class="Emessenger.Notification"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Notification" 
        Height="156" Width="298"
    WindowStyle="None"
    AllowsTransparency="True"
    Background="Transparent"
   >
    <Grid >
        <Border
            HorizontalAlignment="Stretch"
      Margin="5,5,5,5"
      BorderThickness="1,1,1,1"
      BorderBrush="#FF997137">
            <Border.Effect>
                <DropShadowEffect Color="#FF747474"/>
            </Border.Effect>
            <Border.Background>
                <LinearGradientBrush
          EndPoint="0.5,1"
          StartPoint="0.5,0">
                    <GradientStop
            Color="#FF4B4B4B"
            Offset="0" />
                    <GradientStop
            Color="#FF8F8F8F"
            Offset="1" />
                </LinearGradientBrush>
            </Border.Background>
        </Border>
        <Image
      HorizontalAlignment="Left"
      Margin="0,10,0,0"
      Width="72"
      Source="/Images/Infos.png"
      Stretch="Fill" Height="72" VerticalAlignment="Top" />
        <TextBlock Name="message"
      Margin="72,49.2,10,12" Foreground="#FFECAD25"
      TextWrapping="Wrap">
            
        </TextBlock>
        <Path
      Fill="#FFFFFFFF"
      Stretch="Fill"
      Margin="72,38.2,34,0"
      VerticalAlignment="Top"
      Height="1"
      Data="M26,107 L220.04123,107" SnapsToDevicePixels="True">
            <Path.Stroke>
                <LinearGradientBrush
          EndPoint="0.973,0.5"
          StartPoint="0.005,0.5">
                    <GradientStop
            Color="#00ECAD25"
            Offset="1" />
                    <GradientStop
            Color="#87ECAD25"
            Offset="0" />
                </LinearGradientBrush>
            </Path.Stroke>
        </Path>
        <TextBlock Margin="72,10,10,0" VerticalAlignment="Top" Height="23.2" Text="{Binding Path=BalloonText, ElementName=me, Mode=Default}" TextWrapping="Wrap" Foreground="#FFECAD25" FontWeight="Bold"/>
        <Image HorizontalAlignment="Right" Margin="0,12,12,0" VerticalAlignment="Top" Width="16" Height="16" Source="/Images/Close.png" Stretch="Fill" Opacity="0.4" ToolTip="Close Balloon" x:Name="imgClose" MouseLeftButtonDown="close" />
        <TextBlock Foreground="#FFECAD25" Height="18" Margin="78,14,75,0" TextWrapping="Wrap" VerticalAlignment="Top">
            <Run FontStyle="Italic" FontWeight="Bold">Notification</Run></TextBlock>
    </Grid>
</Window>
